home *** CD-ROM | disk | FTP | other *** search
- .TH PRISA
- 6 "IRIT Version 6.0"
- .SH NAME
- PRISA
-
-
-
- ListType PRISA( SurfaceType Srfs, NumericType SamplesPerCurve,
- NumericType Epsilon, ConstantType Dir, VectorType Space )
-
- Computes a layout (prisa) of the given surface(s) Srfs, and returns
- a list of surface objects representing the layout.
- The surface is approximated to within Epsilon in direction Dir
- into a set of ruled surfaces and then developable surfaces that are laid out
- flat onto the XY plane. If Epsilon is negative, the piecewise ruled
- surface approximation in 3-space is returned.
- SamplesPerCurve controls the piecewise linear approximation of the
- boundary of the ruled/developable surfaces. Space is a vector whose
- X component controls the space between the different surfaces' layout, and
- whose Y component controls the space between different layout pieces.
-
- Example:
-
- cross = cbspline( 3,
- list( ctlpt( E3, 0.7, 0.0, 0. ),
- ctlpt( E3, 0.7, 0.0, 0.06 ),
- ctlpt( E3, 0.1, 0.0, 0.1 ),
- ctlpt( E3, 0.1, 0.0, 0.6 ),
- ctlpt( E3, 0.6, 0.0, 0.6 ),
- ctlpt( E3, 0.8, 0.0, 0.8 ),
- ctlpt( E3, 0.8, 0.0, 1.4 ),
- ctlpt( E3, 0.6, 0.0, 1.6 ) ),
- list( KV_OPEN ) );
- wglass = surfrev( cross );
- wgl_ruled = PRISA( wglass, 6, -0.1, COL, vector( 0, 0.25, 0.0 ) );
- wgl_prisa = PRISA( wglass, 6, 0.1, COL, vector( 0, 0.25, 0.0 ) );
-
- Computes a layout of a wine glass in wgl_prisa and a three-dimensional
- ruled surface approximation of wglass in wgl_ruled.
-